package com.ysh.smartplatform.event;

import com.sun.org.apache.xerces.internal.util.Status;
import jdk.net.SocketFlow;

/**
 * 袁胜虎 on 2022/9/13 17:09
 */
public class DeviceStatusEvent {
    private String deviceId;
    private Status status;

    public DeviceStatusEvent(String deviceId, Status status) {
        this.deviceId = deviceId;
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public  static enum Status {
        ONLINE,OFFLINE;
    }
}
